package com.znsd.stu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.TimeTable;

public interface Cwj_TimeTableDao {
	public List<TimeTable> getAll(@Param("userId")Integer userId);
	public int getcount(@Param("userId")Integer userId);
	public TimeTable getById(@Param("id")Integer id);
	public void deletetime(@Param("classId")Integer classId);
	public void addtime(@Param("uptime")String uptime,@Param("breaktime")String breaktime,
			@Param("Latetime")String Latetime,@Param("ontime")String ontime,
			@Param("offtime")String offtime,@Param("classId")Integer classId,
			@Param("userId")Integer userId);
	
	public void updatetime(@Param("uptime")String uptime,@Param("breaktime")String breaktime,
			@Param("Latetime")String Latetime,@Param("ontime")String ontime,
			@Param("offtime")String offtime,@Param("tid")Integer tid);
}
